﻿using JetBrains.Annotations;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Tingjian.gas.service.Product.CreateDto;
using Tingjian.gas.service.Product.GetDto;
using Tingjian.gas.service.Product.UpdateDto;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Tingjian.gas.service.Product
{
    public interface IProductAppService : IApplicationService
    {
        #region redis operations

        Task<bool> AddListInRedsi(CreateGasMeterDto input);
        Task<bool> ConsumerRedisListAsync(); 

        #endregion


        Task<long> CreateAsync(CreateGasMeterDto input);
        Task<long> UpdateAsync(long id, UpdateGasMeterDto input);
        Task<bool> DeleteAsync(long id);
        Task<PagedResultDto<GetGasMeterDto>> GetListPagedAsync(GetListQueryDto input);
        Task<GetGasMeterDto> GetAsync(long id);


    }
}
